projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bb25a0
)
repo: Fix the skip-summary-if-summary.sig-is-same cache
author
Alexander Larsson
<alexl@redhat.com>
Tue, 15 Mar 2016 11:04:43 +0000
(12:04 +0100)
committer
Alexander Larsson
<alexl@redhat.com>
Tue, 15 Mar 2016 11:04:43 +0000
(12:04 +0100)
This code was always downloading the summary even for a cache hit due
to a missing else.
src/libostree/ostree-repo.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-repo.c
b/src/libostree/ostree-repo.c
index facc33241a985153be2f48f0fbd9913af47f5aa5..9352f5cfd304394f81df28826c2f9034ca2a01e2 100644
(file)
--- a/
src/libostree/ostree-repo.c
+++ b/
src/libostree/ostree-repo.c
@@
-1803,6
+1803,7
@@
repo_remote_fetch_summary (OstreeRepo *self,
if (*out_summary)
from_cache = TRUE;
+ else
{
if (!_ostree_preload_metadata_file (self,
fetcher,